package com.amumu.drama.common.modules.order.service;

import com.amumu.drama.common.modules.order.dto.req.OrderConfigReq;
import com.amumu.drama.model.OmsOrderSetting;

/**
 * 订单设置管理Service
 * Created by macro on 2018/10/16.
 */
public interface OmsOrderSettingService {
    /**
     * 获取指定订单设置
     */
    OmsOrderSetting getItem();

    /**
     * 修改指定订单设置
     */
    boolean update(Long id, OmsOrderSetting orderSetting);

    /** 获取第一条订单 */
    OmsOrderSetting getOrderSetting();

    /** 更新订单配置 */
    Boolean updateConfigList(OrderConfigReq request);
}
